﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
	<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>	
</head>
<body class="wall">
	<div class="header"></div>
	<div class="content">	
		<h1 class="title green">欢迎入住<span id="hotelName"></span>!</h1>
		@RenderBody() 	
		<div class="clear"></div>
	</div>
	<div class="ads">
		<iframe height="78px" width="100%" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://www.htinns.com/inside/ad.aspx" ></iframe>
	</div>		
	<div class="footer shadow">
		<span style="display:none">contact : <a href="http://x116.tk">x116.tk</a> </span>&nbsp; htinns : <a href="http://www.htinns.com">www.htinns.com</a>
	</div>
	<script type="text/javascript">
	<!--
		$(function () {			
			var url = 'http://www.htinns.com/market/getHotelName.aspx?hotelid='+'@Session["hotelId"]'+'&callback=?';
			$.getJSON(url,function(data){			
				$("#hotelName").text(data);
			});
		});

		/*
		C#:
		method()
		{
			var hotelName=”店名”;
			
			var callback=Request.QueryString["callback"];

			Response.Write(callback+"('"+hotelName+"');")

		}
		*/
			
	//-->
	</script>	
</body>
</html>
